package com.tianhui.consignortwofei.other.auth.stragety;


import com.tianhui.consignortwofei.other.auth.ocr.BaiDuOcrRecognition;
import com.tianhui.consignortwofei.other.auth.photograph.FinderFrame;
import com.tianhui.consignortwofei.other.auth.photograph.IPhotographStyle;
import com.tianhui.consignortwofei.other.auth.recognition.BankCardRecognition;
import com.tianhui.consignortwofei.other.auth.recognition.process.BankCardRecognitionProcess;
import com.tianhui.consignortwofei.other.auth.state.IPictureProcessState;
import com.tianhui.consignortwofei.other.auth.state.RecognitionState;

/**
 * @author fgs
 * @date 2021/5/12
 * @description
 **/
public class BankCardStrategy extends BasePictureStrategy {



    @Override
    public IPhotographStyle getPhotographStyle() {
        return new FinderFrame();
    }

    @Override
    public IPictureProcessState getPictureProcessState() {
        return new RecognitionState(new BaiDuOcrRecognition(new BankCardRecognition()), new BankCardRecognitionProcess());
    }



}
